app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
↳ QTRS
↳ DependencyPairsProof
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
SUM -> APP2(fold, add)
APP2(app2(times, app2(s, x)), y) -> APP2(times, x)
APP2(app2(plus, app2(s, x)), y) -> APP2(s, app2(app2(plus, x), y))
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(f, y), app2(app2(app2(fold, f), x), z))
PROD -> APP2(s, 0)
PROD -> APP2(app2(fold, mul), app2(s, 0))
APP2(app2(times, app2(s, x)), y) -> APP2(app2(plus, app2(app2(times, x), y)), y)
PROD -> APP2(fold, mul)
APP2(app2(plus, app2(s, x)), y) -> APP2(app2(plus, x), y)
SUM -> APP2(app2(fold, add), 0)
APP2(app2(plus, app2(s, x)), y) -> APP2(plus, x)
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(f, y)
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(app2(fold, f), x), z)
APP2(app2(times, app2(s, x)), y) -> APP2(app2(times, x), y)
APP2(app2(times, app2(s, x)), y) -> APP2(plus, app2(app2(times, x), y))
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
SUM -> APP2(fold, add)
APP2(app2(times, app2(s, x)), y) -> APP2(times, x)
APP2(app2(plus, app2(s, x)), y) -> APP2(s, app2(app2(plus, x), y))
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(f, y), app2(app2(app2(fold, f), x), z))
PROD -> APP2(s, 0)
PROD -> APP2(app2(fold, mul), app2(s, 0))
APP2(app2(times, app2(s, x)), y) -> APP2(app2(plus, app2(app2(times, x), y)), y)
PROD -> APP2(fold, mul)
APP2(app2(plus, app2(s, x)), y) -> APP2(app2(plus, x), y)
SUM -> APP2(app2(fold, add), 0)
APP2(app2(plus, app2(s, x)), y) -> APP2(plus, x)
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(f, y)
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(app2(fold, f), x), z)
APP2(app2(times, app2(s, x)), y) -> APP2(app2(times, x), y)
APP2(app2(times, app2(s, x)), y) -> APP2(plus, app2(app2(times, x), y))
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
APP2(app2(plus, app2(s, x)), y) -> APP2(app2(plus, x), y)
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(plus, app2(s, x)), y) -> APP2(app2(plus, x), y)
POL( plus ) = max{0, -2}
POL( s ) = 2
POL( APP2(x1, x2) ) = x1 + x2
POL( app2(x1, x2) ) = max{0, x1 + 2x2 - 1}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(times, app2(s, x)), y) -> APP2(app2(times, x), y)
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(times, app2(s, x)), y) -> APP2(app2(times, x), y)
POL( times ) = max{0, -2}
POL( s ) = 2
POL( APP2(x1, x2) ) = x1 + x2
POL( app2(x1, x2) ) = max{0, x1 + 2x2 - 1}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(f, y), app2(app2(app2(fold, f), x), z))
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(f, y)
APP2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> APP2(app2(app2(fold, f), x), z)
app2(app2(app2(fold, f), x), nil) -> x
app2(app2(app2(fold, f), x), app2(app2(cons, y), z)) -> app2(app2(f, y), app2(app2(app2(fold, f), x), z))
app2(app2(plus, 0), y) -> y
app2(app2(plus, app2(s, x)), y) -> app2(s, app2(app2(plus, x), y))
app2(app2(times, 0), y) -> 0
app2(app2(times, app2(s, x)), y) -> app2(app2(plus, app2(app2(times, x), y)), y)
sum -> app2(app2(fold, add), 0)
prod -> app2(app2(fold, mul), app2(s, 0))